package com.hmapi.client;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@EnableFeignClients
@FeignClient("order-service")
public interface OrderClient {
    @PutMapping("orders/{orderId}")
    void updateById(@PathVariable("orderId")Long orderId);
}
